package com.dduggs.note.string;

/**
 * @author Created by CJS on 2017/12/5
 */
public class StringTest {

    public static void main(String[] args) {
        String s1=String.valueOf("aaaaa");
        String s2=String.valueOf("aaaaa");

        System.out.println(s1);
        System.out.println(s2);
        System.out.println(s1==s2);
        String  test="dd";
        test.hashCode();
        Object c=new Object();
        c.hashCode();
    }
}
